#!/bin/sh
#
# wrsExtractMultilibInfo - Makefile to extract info from target/h/make
#
# modification history
# --------------------
# 01a,15nov99,sn   wrote
#
# DESCRIPTION
# Produces an sh-style script that can be sourced to set CC, CPU, 
# TOOL and CFLAGS to the appropriate values for $(MAKEFRAG).
# $(MAKEFRAG) is the name of a make.* makefile fragment in 
# target/h/make.

include $(WIND_BASE)/target/h/make/$(MAKEFRAG)

default:
	@echo 'CC="$(CC)"'
	@echo 'CPU="$(CPU)"'
	@echo 'TOOL="$(TOOL)"'
	@echo 'CFLAGS="$(CC_ARCH_SPEC) $(CC_COMPILER) $(CC_OPTIM) $(DEFINE_CC) $(CC_SOFT_FLOAT)"'
